package com.ruandi.test15;

import com.ruandi.test13.Architect;
import com.ruandi.test13.Designer;
import com.ruandi.test13.Employee;
import com.ruandi.test13.Programmer;

public class Test16 {
    public static void main(String[] args) {
        Employee employee = new Employee("001","张三",20,10000);
        employee.getInfo();
        Programmer programmer = new Programmer("002","李四",21,15000,"java");
        programmer.getInfo();
        Designer designer = new Designer("003","王五",22,20000,"java",5000);
        designer.getInfo();
        Architect architect = new Architect("003","王五",22,20000,"java",5000,100);
        architect.getInfo();
    }
}
